package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.BaseBean;
import com.xuxin.nantai.presenter.MainPresenter;

public interface MainContract {

    interface Model {

        void getData(MainPresenter presenter);
    }

    interface View extends BaseContract.view {

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getData();

        void onSuccess(BaseBean baseBean);
    }
}